﻿//*** Guidance generated code ***//
using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Linq;
using System.Web.Mvc;

namespace $safeprojectname$.Web
{
    public interface IComboBoxModel : ICoreModel
    {
        /// <summary>
        ///     Collection of Items to be displayed 
        ///     in the combobox (select/option)
        /// </summary>
        SelectList Items { get; set; }

        /// <summary>
        ///     The name which can be handled in the FORM
        /// </summary>
        string ComboBoxName { get; set; }

        /// <summary>
        ///     Extending information for class (usually the width)
        /// </summary>
        string CssClassName { get; set; }

        /// <summary>
        ///     Switch, true == there will be unselected option
        /// </summary>
        bool ShowEmpty { get; set; }

        /// <summary>
        ///     The last selected (and therefore current) ID
        /// </summary>
        string SelectedID { get; set; }
    }
}